package com.smmisia.article.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * 删除状态
 * @author smmisia
 * @date 2023/9/5
 */
@Getter
public enum DeleteEnum {

    DELETE(1, "是"),
    UN_DELETE(0, "否");

    @EnumValue
    private Integer code;
    private String desc;

    DeleteEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
